package foodmaterial.entity;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

public class MealsTypeName implements Serializable {
    private static final long serialVersionUID = -12624663413194519L;

    private Long id ;
    @NotEmpty(message = "餐别名称不能为空")
    private String name ;
    private Boolean condiment = Boolean.FALSE;
    private Integer showOrder ;
    //统计类型，在统计超标的时候调料算在正餐里面们不单独计算
    private String calType ;
    private String db;
    private Integer pageNo ;
    private Integer pageSize ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getCondiment() {
        return condiment;
    }

    public void setCondiment(Boolean condiment) {
        this.condiment = condiment;
    }

    public Integer getShowOrder() {
        return showOrder;
    }

    public void setShowOrder(Integer showOrder) {
        this.showOrder = showOrder;
    }

    public String getCalType() {
        return calType;
    }

    public void setCalType(String calType) {
        this.calType = calType;
    }

    public String getDb() {
        return db;
    }

    public void setDb(String db) {
        this.db = db;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
